package com.mstore.dao;

import java.util.List;

import com.mstore.pojo.BAuthority;

public class AuthorityDao extends SuperDao {

	public List<Object> haveAllAuthority(BAuthority authority) {
		String hql = "from BAuthority where eaId = ?";
		Object[] values = new Object[] { authority.getEaId() };
		return super.getObject(hql, values);
	}

}
